// date.js
export function formatCount(count) {
    let out = '';
    if (count >= 100000000) {
        out = Math.floor(count / 100000000) + Math.round((count % 100000000) / 10000000) + '亿';
    } else if (count >= 10000) {
        out = Math.floor(count / 10000) + '.' + Math.round((count % 10000) / 1000) + '万';
    } else {
        out = count;
    }
    return out;
}